package zpe.jsf.view.bean;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.ViewScoped;
import javax.faces.event.ActionEvent;

import zpe.genericcrud.jsf.view.bean.AbstractCrudBean;
import zpe.model.Local;
import zpe.service.LocalService;

@ManagedBean(name = "localBean")
@ViewScoped
public class LocalBean extends AbstractCrudBean<Local, LocalService> {

	@ManagedProperty("#{localService}")
	protected LocalService service;

	@Override
	public void save(ActionEvent event) {
		// TODO Auto-generated method stub
		super.save(event);
	}
}
